/*!
 * CodeGenerator(https://git.oschina.net/ptma/CodeGenerator)
 *
 * Date: 2017-11-02 11:30:44
 */
package com.azier.mysql.mapper;

import com.azier.mysql.model.MonitoringStatsDataDay;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.ConditionMapper;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * MyBatis Mapper 接口 <br/>
 * Table: monitoring_stats_data_day - 测点日统计数据 <br/>
 *
 * @author 金建强(ptma@163.com)
 * @version 2017-11-02 11:30:44
 */
public interface MonitoringStatsDataDayMapper extends Mapper<MonitoringStatsDataDay>, ConditionMapper<MonitoringStatsDataDay> {

    List<Long> selectDifferenceIdsBystationId(Long stationId);

    List<MonitoringStatsDataDay> selectStatData();

    List<MonitoringStatsDataDay> selectBySmIdAndTime(HashMap<String, Object> map);

    int countAllData();

    List<MonitoringStatsDataDay> selectStatDataPage(@Param("start")int start,@Param("pageSize")int pageSize);
}
